
//#define FCC  (unsigned long)624000  //mAm

#define soc_t 6
#define soc_i 6

const long soc_v[soc_t][soc_i] =
{
  {-20,	6700,	8300,	11700,	14000,	50000},
  {0,	34111,	33337,	32595,	31715,	31207},
  {10,	34496,	33777,	33090,	32375,	31812},
  {20,	34620,	33997,	33370,	32723,	32142},
  {30,	34744,	34218,	33650,	33071,	32473},
  {40,	34724,	34042,	33570,	33111,	32595}
};

const unsigned int ocv_table[101][2] =
{
    {0,	30000},
    {1,	31092},
    {2,	32184},
    {3,	32970},
    {4,	33360},
    {5,	33750},
    {6,	33997},
    {7,	34223},
    {8,	34398},
    {9,	34456},
    {10,	34515},
    {11,	34565},
    {12,	34612},
    {13,	34663},
    {14,	34738},
    {15,	34812},
    {16,	34910},
    {17,	35023},
    {18,	35135},
    {19,	35228},
    {20,	35322},
    {21,	35402},
    {22,	35469},
    {23,	35535},
    {24,	35598},
    {25,	35660},
    {26,	35718},
    {27,	35769},
    {28,	35819},
    {29,	35867},
    {30,	35914},
    {31,	35959},
    {32,	35998},
    {33,	36037},
    {34,	36068},
    {35,	36095},
    {36,	36122},
    {37,	36146},
    {38,	36169},
    {39,	36197},
    {40,	36228},
    {41,	36259},
    {42,	36287},
    {43,	36314},
    {44,	36344},
    {45,	36380},
    {46,	36415},
    {47,	36450},
    {48,	36485},
    {49,	36524},
    {50,	36575},
    {51,	36626},
    {52,	36688},
    {53,	36754},
    {54,	36825},
    {55,	36922},
    {56,	37020},
    {57,	37120},
    {58,	37221},
    {59,	37323},
    {60,	37424},
    {61,	37525},
    {62,	37623},
    {63,	37717},
    {64,	37811},
    {65,	37901},
    {66,	37990},
    {67,	38082},
    {68,	38180},
    {69,	38278},
    {70,	38375},
    {71,	38473},
    {72,	38572},
    {73,	38677},
    {74,	38782},
    {75,	38890},
    {76,	38999},
    {77,	39109},
    {78,	39218},
    {79,	39327},
    {80,	39436},
    {81,	39545},
    {82,	39655},
    {83,	39771},
    {84,	39888},
    {85,	40006},
    {86,	40127},
    {87,	40248},
    {88,	40369},
    {89,	40490},
    {90,	40612},
    {91,	40737},
    {92,	40861},
    {93,	40989},
    {94,	41118},
    {95,	41248},
    {96,	41388},
    {97,	41528},
    {98,	41671},
    {99,	41815},
    {100,	41960}
};